[POWERPC][XEN] Enable in-guest performance monitoring.
authorHollis Blanchard <hollisb@us.ibm.com>
Fri, 13 Jul 2007 22:28:15 +0000 (17:28 -0500)
committerHollis Blanchard <hollisb@us.ibm.com>
Fri, 13 Jul 2007 22:28:15 +0000 (17:28 -0500)
commit4d5616b775a152f2cb13be98d811a80314cdf61b
tree30ab390372df60d1cf553ba2468c9f69f2abb76c
parent83b975762f5b1c32ca36870c8873846c0a1ca649
[POWERPC][XEN] Enable in-guest performance monitoring.
- Lazily save and restore the performance monitor counters when switching
  domains.
- Control with the H_PERFMON PAPR hypercall.
- Ignore guest perfmon exceptions that land in Xen.
Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
xen/arch/powerpc/exceptions.h
xen/arch/powerpc/of_handler/papr.S
xen/arch/powerpc/papr/Makefile
xen/arch/powerpc/papr/h_perfmon.c [new file with mode: 0644]
xen/arch/powerpc/powerpc64/domain.c
xen/arch/powerpc/powerpc64/exceptions.S
xen/include/asm-powerpc/domain.h
xen/include/asm-powerpc/papr.h
xen/include/asm-powerpc/processor.h
xen/include/asm-powerpc/reg_defs.h
xen/include/asm-powerpc/xenoprof.h